package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 项目判定结果类型表
 * @TableName device_inspectiontask_result
 */
@TableName(value ="device_inspectiontask_result")
@Data
public class DeviceInspectiontaskResult implements Serializable {
    /**
     * 项目判定结果类型编号
     */
    @TableId(type = IdType.AUTO)
    private Integer resultId;

    /**
     * 项目判定结果类型名称
     */
    private String resultName;

    /**
     * 上限
     */
    private Integer upperLimit;

    /**
     * 下限
     */
    private Integer lowerLimit;

    /**
     * 备注
     */
    private String notse;

    /**
     * 选择外键(1.单选2.多选)
     */
    private Integer choose;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    private String code;


    @TableField(exist = false)
    private DeviceInspectionproject deviceInspectionproject;

    @Override
    public String toString() {
        return "DeviceInspectiontaskResult{" +
                "resultId=" + resultId +
                ", resultName='" + resultName + '\'' +
                ", upperLimit=" + upperLimit +
                ", lowerLimit=" + lowerLimit +
                ", notse='" + notse + '\'' +
                ", choose=" + choose +
                ", isDelete=" + isDelete +
                ", code='" + code + '\'' +
                ", deviceInspectionproject=" + deviceInspectionproject +
                '}';
    }
}